package com.krtech.wecard.module.mayi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com-krtech-wecard-module-mayi-entity-MayiLiuliang")
@Data
@TableName(value = "mayi_liuliang")
public class MayiLiuliang implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 卡号
     */
    @TableField(value = "code")
    @ApiModelProperty(value = "卡号")
    private String code;

    /**
     * 剩余流量
     */
    @TableField(value = "shengyu_liuliang")
    @ApiModelProperty(value = "剩余流量")
    private String shengyuLiuliang;

    /**
     * 到期时间
     */
    @TableField(value = "expire_time")
    @ApiModelProperty(value = "到期时间")
    private Date expireTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_CODE = "code";

    public static final String COL_SHENGYU_LIULIANG = "shengyu_liuliang";

    public static final String COL_EXPIRE_TIME = "expire_time";
}